package com.kqb.mapper;

import com.kqb.pojo.Product;
import com.kqb.pojo.dto.ProductDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int save(Product product);

    List<Product> selectByPage(ProductDto productDto);

    int deleteById(Integer id);

    int updateProductById(Product product);
}